package com.xsp.mybatisxmlsqlparser.node;

import lombok.Getter;

@Getter
public enum ParseNodeTypeEnum {
    TEXT(0, "text"),
    WHERE(1, "where"),
    IF(2, "IF"),
    CHOOSE(3, "choose"),
    FOREACH(4, "foreach"),
    WHEN(5, "when"),
    OTHERWISE(6, "otherwise");

    private final int code;
    private final String name;

    ParseNodeTypeEnum(int code, String name) {
        this.code = code;
        this.name = name;
    }


}
